package com.ruoyi.cderp.domain;

import java.util.List;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 库存预先盘点单对象 tbl_pre_take_stock_sheet
 * 
 * @author ruoyi
 * @date 2025-05-07
 */
public class TblPreTakeStockSheet extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** ID */
    private String id;

    /** 业务单据号 */
    @Excel(name = "业务单据号")
    private String code;

    /** 仓库ID */
    @Excel(name = "仓库ID")
    private String scId;

    /** 盘点状态 */
    @Excel(name = "盘点状态")
    private Long takeStatus;

    /** 备注 */
    @Excel(name = "备注")
    private String description;

    /** 创建人ID */
    @Excel(name = "创建人ID")
    private String createById;

    /** 修改人ID */
    @Excel(name = "修改人ID")
    private String updateById;

    //仓库
    private Center Center;

    public Center getCenter() {
        return Center;
    }

    public void setCenter(Center center) {
        Center = center;
    }

    /** 库存预先盘点单明细信息 */
    private List<TblPreTakeStockSheetDetail> tblPreTakeStockSheetDetailList;

    public void setId(String id) 
    {
        this.id = id;
    }

    public String getId() 
    {
        return id;
    }
    public void setCode(String code) 
    {
        this.code = code;
    }

    public String getCode() 
    {
        return code;
    }
    public void setScId(String scId) 
    {
        this.scId = scId;
    }

    public String getScId() 
    {
        return scId;
    }
    public void setTakeStatus(Long takeStatus) 
    {
        this.takeStatus = takeStatus;
    }

    public Long getTakeStatus() 
    {
        return takeStatus;
    }
    public void setDescription(String description) 
    {
        this.description = description;
    }

    public String getDescription() 
    {
        return description;
    }
    public void setCreateById(String createById) 
    {
        this.createById = createById;
    }

    public String getCreateById() 
    {
        return createById;
    }
    public void setUpdateById(String updateById) 
    {
        this.updateById = updateById;
    }

    public String getUpdateById() 
    {
        return updateById;
    }

    public List<TblPreTakeStockSheetDetail> getTblPreTakeStockSheetDetailList()
    {
        return tblPreTakeStockSheetDetailList;
    }

    public void setTblPreTakeStockSheetDetailList(List<TblPreTakeStockSheetDetail> tblPreTakeStockSheetDetailList)
    {
        this.tblPreTakeStockSheetDetailList = tblPreTakeStockSheetDetailList;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("code", getCode())
            .append("scId", getScId())
            .append("takeStatus", getTakeStatus())
            .append("description", getDescription())
            .append("createBy", getCreateBy())
            .append("createById", getCreateById())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateById", getUpdateById())
            .append("updateTime", getUpdateTime())
            .append("tblPreTakeStockSheetDetailList", getTblPreTakeStockSheetDetailList())
            .toString();
    }
}
